[INFO] cloning repository https://github.com/ttempleton/rust-battleship
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ttempleton/rust-battleship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttempleton%2Frust-battleship", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttempleton%2Frust-battleship'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 56e33a9052c7af2836f58800efe847c9783cf6ec
[INFO] checking ttempleton/rust-battleship against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttempleton%2Frust-battleship" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ttempleton/rust-battleship on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ttempleton/rust-battleship
[INFO] finished tweaking git repo https://github.com/ttempleton/rust-battleship
[INFO] tweaked toml for git repo https://github.com/ttempleton/rust-battleship written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/ttempleton/rust-battleship already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston-gfx_texture v0.41.0
[INFO] [stderr]   Downloaded backtrace v0.3.12
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.68.0
[INFO] [stderr]   Downloaded piston_window v0.110.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4fc27cbca5ef46ed1062d85207a1df190a5c6542ebdb7bc1ad772d905dfd0b40
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4fc27cbca5ef46ed1062d85207a1df190a5c6542ebdb7bc1ad772d905dfd0b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fc27cbca5ef46ed1062d85207a1df190a5c6542ebdb7bc1ad772d905dfd0b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fc27cbca5ef46ed1062d85207a1df190a5c6542ebdb7bc1ad772d905dfd0b40", kill_on_drop: false }`
[INFO] [stdout] 4fc27cbca5ef46ed1062d85207a1df190a5c6542ebdb7bc1ad772d905dfd0b40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c1f6ff7cce599877636ccd3dcb923f1bed2789a071e03d9beaccdf3ae375b67
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4c1f6ff7cce599877636ccd3dcb923f1bed2789a071e03d9beaccdf3ae375b67", kill_on_drop: false }`
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling cc v1.0.35
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nix v0.13.0
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling syn v0.15.32
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.11
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking bytemuck v1.3.1
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking shared_library v0.1.8
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking stb_truetype v0.2.2
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]     Checking png v0.16.7
[INFO] [stderr]    Compiling wayland-scanner v0.21.12
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rayon v1.0.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]     Checking rusttype v0.7.6
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]     Checking wayland-sys v0.21.12
[INFO] [stderr]     Checking piston2d-graphics v0.36.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling wayland-client v0.21.12
[INFO] [stderr]    Compiling wayland-protocols v0.21.12
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking image v0.23.8
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]     Checking wayland-commons v0.21.12
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.68.0
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.5
[INFO] [stderr]     Checking pistoncore-window v0.46.0
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking pistoncore-event_loop v0.51.0
[INFO] [stderr]     Checking piston v0.51.0
[INFO] [stderr]     Checking glutin v0.21.2
[INFO] [stderr]     Checking pistoncore-glutin_window v0.65.0
[INFO] [stderr]     Checking piston_window v0.110.0
[INFO] [stderr]     Checking rust-battleship v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert_eq!(ship.pos(), pos.as_slice());
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert!(ship.set_pos(vec![[1, 0], [0, 0]]).is_ok());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_eq!(ship.dir(), Direction::East);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:152:22
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert!(ship.set_pos(vec![[0, 1], [0, 0]]).is_ok());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_eq!(ship.dir(), Direction::South);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert!(ship.set_pos(vec![[0, 0], [1, 0]]).is_ok());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:156:25
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_eq!(ship.dir(), Direction::West);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:158:22
[INFO] [stdout]     |
[INFO] [stdout] 158 |         assert!(ship.set_pos(vec![[0, 0], [0, 1]]).is_ok());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:159:25
[INFO] [stdout]     |
[INFO] [stdout] 159 |         assert_eq!(ship.dir(), Direction::North);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |         assert!(ship.set_pos(vec![[0, 0], [0, 0]]).is_err());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:162:22
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert!(ship.set_pos(vec![[0, 0], [0, 2]]).is_err());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_pos` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:163:22
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert!(ship.set_pos(vec![]).is_err());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |         assert_eq!(ship.dir(), Direction::North);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 |         assert_eq!(ship.dir(), Direction::South);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:175:25
[INFO] [stdout]     |
[INFO] [stdout] 175 |         assert_eq!(ship.dir(), Direction::West);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `dir` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:178:25
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(ship.dir(), Direction::East);
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |         assert_eq!(ship.len(), pos.len());
[INFO] [stdout]     |                         ^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_placement` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:191:22
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert!(ship.is_placement());
[INFO] [stdout]     |                      ^^^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:192:22
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert!(ship.set_active().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_placement` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:193:23
[INFO] [stdout]     |
[INFO] [stdout] 193 |         assert!(!ship.is_placement());
[INFO] [stdout]     |                       ^^^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:194:22
[INFO] [stdout]     |
[INFO] [stdout] 194 |         assert!(ship.set_sunk().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_placement` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 |         assert!(!ship.is_placement());
[INFO] [stdout]     |                       ^^^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:201:23
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert!(!ship.is_active());
[INFO] [stdout]     |                       ^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:202:22
[INFO] [stdout]     |
[INFO] [stdout] 202 |         assert!(ship.set_active().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert!(ship.is_active());
[INFO] [stdout]     |                      ^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |         assert!(ship.set_sunk().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |         assert!(!ship.is_active());
[INFO] [stdout]     |                       ^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert!(ship.set_active().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:212:22
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert!(ship.set_active().is_err());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:213:22
[INFO] [stdout]     |
[INFO] [stdout] 213 |         assert!(ship.set_sunk().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert!(ship.set_active().is_err());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |         assert!(!ship.is_sunk());
[INFO] [stdout]     |                       ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:221:22
[INFO] [stdout]     |
[INFO] [stdout] 221 |         assert!(ship.set_active().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:222:23
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert!(!ship.is_sunk());
[INFO] [stdout]     |                       ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:223:22
[INFO] [stdout]     |
[INFO] [stdout] 223 |         assert!(ship.set_sunk().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:224:22
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert!(ship.is_sunk());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:230:22
[INFO] [stdout]     |
[INFO] [stdout] 230 |         assert!(ship.set_sunk().is_err());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_active` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:231:22
[INFO] [stdout]     |
[INFO] [stdout] 231 |         assert!(ship.set_active().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:232:22
[INFO] [stdout]     |
[INFO] [stdout] 232 |         assert!(ship.set_sunk().is_ok());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_sunk` found for enum `std::result::Result<ship::Ship, &str>` in the current scope
[INFO] [stdout]    --> src/ship.rs:233:22
[INFO] [stdout]     |
[INFO] [stdout] 233 |         assert!(ship.set_sunk().is_err());
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `std::result::Result<ship::Ship, &str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 40 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-battleship`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4c1f6ff7cce599877636ccd3dcb923f1bed2789a071e03d9beaccdf3ae375b67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c1f6ff7cce599877636ccd3dcb923f1bed2789a071e03d9beaccdf3ae375b67", kill_on_drop: false }`
[INFO] [stdout] 4c1f6ff7cce599877636ccd3dcb923f1bed2789a071e03d9beaccdf3ae375b67
